package com.readpost.utils;

import org.springframework.util.DigestUtils;

public class Md5Util {

    public static String md5(String password) {

        return DigestUtils.md5DigestAsHex(password.getBytes());
    }


}
